package com.neuedu.learn;

public class DemoNest {
    /**
     *   循环嵌套
     * @param args
     * @throws Exception
     */
    public static void main(String[] args) {
        /***

         ***********
         **********
         *********
         ********
         ******
         *****
         ****
         ***
         **
         *


         */


        for (int line = 0; line < 10; line++) {
//            System.out.println("*");
            for (int col = 0; col < line+1; col++) {
                System.out.print("*");
            }
            System.out.println();

        }







    }


}
